<!DOCTYPE html>
<html>
<head>
	<?php echo $this->Html->charset(); ?>
	<title>Projeto XYZ</title>
	<?php
		echo $this->Html->meta('icon');
		echo $this->Html->css('style.default');
		echo $this->Html->css('plugins/jquery.fancybox');
		echo $this->Html->css('plugins/simplemodal');
		echo $this->Html->css('plugins/shapeshift');
		echo $this->Html->css('bootstrap');
		echo $this->Html->css('bootstrap-theme.min');

		echo $this->Html->script('plugins/jquery');
		echo $this->Html->script('plugins/jquery-ui.min');
		echo $this->Html->script('plugins/jquery.uniform.min');
		echo $this->Html->script('plugins/jquery.ui.spinner');
		echo $this->Html->script('plugins/jquery.dataTables.min');
		echo $this->Html->script('plugins/jquery.fancybox');
		echo $this->Html->script('plugins/jquery.simplemodal');
		echo $this->Html->script('plugins/jquery.touch-punch.min');
		echo $this->Html->script('plugins/jquery.shapeshift.min');
		echo $this->Html->script('bootstrap.min');
		echo $this->Html->script('custom/tables');
		echo $this->Html->script('custom/general');
		echo $this->Html->script('custom/forms');
		echo $this->Html->script('custom/login');
		echo $this->Html->script('custom/attachments');
		echo $this->Html->script('app/modal_conta.js');

		echo $this->fetch('meta');
		echo $this->fetch('css');
		echo $this->fetch('script');
	?>
</head>
<body class="withvernav">
	<div class="bodywrapper">
		<?php echo $this->element('topheader', array()); ?>

		<?php if($this->AclLink->check('Menu.view')) echo $this->element('menu', array()); ?>

		<div class="centercontent">
			<?php echo $this->Session->flash('auth'); ?>
            <?php echo $this->Session->flash(); ?>
			<?php echo $this->fetch('content'); ?>

			<?php echo $scripts_for_layout; ?>

			<!-- Js writeBuffer -->
			<?php
				if (class_exists('JsHelper') && method_exists($this->Js, 'writeBuffer')) echo $this->Js->writeBuffer();
			?>
		</div>

	</div>
</body>
</html>